package com.example.demo.dao;

import com.example.demo.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {

    List<Student> list();

    int delete(Integer id);

    int save(Student student);

    int update(Student student);

    Student findById(Integer id);
}
